export interface IArticleItem {
  id: string;
  title: string;
  cover: string;
  summary?: any;
  content: string;
  html: string;
  toc: string;
  status: string;
  views: number;
  likes: number;
  isRecommended: boolean;
  needPassword: boolean;
  totalAmount?: any;
  isPay: boolean;
  isCommentable: boolean;
  publishAt: string;
  createAt: string;
  updateAt: string;
  tags: any[];
  category?: any;
}

export interface IArticleItemDetail {
  id: string;
  title: string;
  cover: string;
  summary?: any;
  content: string;
  html: string;
  toc: string;
  status: string;
  views: number;
  likes: number;
  isRecommended: boolean;
  needPassword: boolean;
  totalAmount?: any;
  isPay: boolean;
  isCommentable: boolean;
  publishAt: string;
  createAt: string;
  updateAt: string;
  category: Category;
  tags: Category[];
}

interface Category {
  id: string;
  label: string;
  value: string;
  createAt: string;
  updateAt: string;
}

export interface ISettingItem {
  i18n: string;
  systemUrl: string;
  adminSystemUrl: string;
  systemTitle?: any;
  systemLogo: string;
  systemFavicon?: any;
  systemFooterInfo?: any;
  seoKeyword: string;
  seoDesc: string;
  baiduAnalyticsId: string;
  googleAnalyticsId: string;
}
export interface IPosterItem{
  width: number;
  height: number;
  html: string;
  name: string;
  pageUrl: string;
}